<?php

namespace app\controller;

abstract class AbstractGateway extends \Omnipay\Common\AbstractGateway
{
    public function setMchNo(string $mchNo): AbstractGateway
    {
        return $this->setParameter('mchNo', $mchNo);
    }

    public function setAppPrivateKey(string $appPrivateKey): AbstractGateway
    {
        return $this->setParameter('appPrivateKey', $appPrivateKey);
    }

    public function setHwPublicKey(string $hwPublicKey): AbstractGateway
    {
        return $this->setParameter('hwPublicKey', $hwPublicKey);
    }

    public function setNotifyUrl(string $notifyUrl): AbstractGateway
    {
        return $this->setParameter('notifyUrl', $notifyUrl);
    }

    public function setReturnUrl(string $returnUrl): AbstractGateway
    {
        return $this->setParameter('returnUrl', $returnUrl);
    }
}
